Connector A Design Pattern for Actively Initializing Network Services

نویسنده

  • Douglas C. Schmidt
چکیده

This article is part of a continuingseries that describes objectoriented techniques for developing reusable, extensible, and efficient communication software. The topic of this article is the Connector pattern. This design pattern enables the tasks performed by network services to evolve independently of the mechanisms that actively initialize the services. The Connector pattern is a companion to the Acceptor pattern [1], which enables network services to evolve independently of the mechanisms that passively establish connections used by the services. The Connector and Acceptor patterns are commonly used in conjunction with connection-oriented protocols (such as TCP or SPX). These protocols reliably deliver data between two communication endpoints. Establishing connections between two endpoints involves both a passive role and an active role. The passive role initializes an endpoint of communication at a particular address (such as an Internet IP address and port number) and waits passively for other endpoints to connect with it. The active role initiates a connection to the address of an endpoint playing the passive role. The intent of the Connector and Acceptor patterns is to decouple the active and passive connection roles, respectively, from the network services performed once connections are established. Common connection-oriented network services include remote login, file transfer, and access to World-Wide Web resources. This article describes how separating the connection-related processing from the service processing yields more reusable, extensible, and efficient communication software. This article is organized as follows: Section 2 motivates the Connector pattern by illustrating how it can be used to actively establish connections with a large number of peers in a connection-oriented, multi-service, applicationlevel Gateway; Section 3 describes the Connector pattern in detail and illustrates one way to implement it in C++; and Section 4 presents concluding remarks. WIDE AREA

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Acceptor-Connector An Object Creational Pattern for Connecting and Initializing Communication Services

The Acceptor-Connector design pattern decouples connection establishment and service initialization in a distributed system from the processing performed once a service is initialized. This decoupling is achieved with three components: acceptors, connectors, and service handlers. A connector actively establishes a connection with a remote acceptor component and initializes a service handler to ...

متن کامل

Acceptor A Design Pattern for Passively Initializing Network Services

This article is part of a continuingseries that describes objectoriented techniques for developing reusable, extensible, and efficient communication software. The current topic examines the Acceptor pattern. This design pattern enables the tasks performed by network services to evolve independently of the strategies used to passively initialize the services. By decoupling service initialization...

متن کامل

Acceptor and Connector Design Patterns for Actively and Passively Initializing Network Services

This paper describes a pair of patterns that enhance the reuse, extensibility, and portability of object-oriented communication software by permittingnetwork services to evolve independently of the mechanisms used to establish connections used by the services. The Acceptor and Connector patterns decouple the passive and active establishment of a connection, respectively, from the service perfor...

متن کامل

Acceptor and Connector A Family of Object Creational Patterns for Initializing Communication Services

This paper describes the Connector and Acceptor patterns. The intent of these patterns is to decouple the active and passive initialization roles, respectively, from the tasks a communication service performs once initialization is complete. Common examples of communication services that utilize these patterns include WWW browsers, WWW servers, object request brokers, and “superservers” (which ...

متن کامل

Acceptor and Connector Design Patterns for Initializing Communication Services

This paper describes the Connector and Acceptor patterns. The intent of these patterns is to decouple the active and passive connection roles, respectively, from the tasks a communication service performs once connections are established. Common examples of communication services that utilize these patterns include WWW browsers, WWW servers, object request brokers, and “superservers” that provi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996